package com.gr.catanddog_common.damin;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Component
@Data
@TableName("animal_likes")
@AllArgsConstructor
@NoArgsConstructor
public class AnimalLikes {
    @TableId("animal_id")
    String animalId;       //宠物id
    @TableField("likes")
    Integer likes;      //喜爱值
}
